1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHA00600.xrw
- * 설 명 : 비자건진예약/접수
- * 설 계 자 : 손주연
- * 작 성 자 : 손주연
- * 작 성 일 : 2007.06.13
- * 수정이력 : 김다영
- 조두현 2008.01.10 추가요구사항 등록
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>VISA등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <rsrvlst>
- <hopedd/>
- <pid/>
- <engnm/>
- <pnm/>
- <brthareacnts/>
- <pkgcd/>
- <pkgnm/>
- <rgstno1/>
- <rgstno2/>
- <sexage/>
- <statflag/>
- <rsrvdd/>
- <rsrvno/>
- <rcptstat/>
- <visano/>
- <totamt/>
- <cmpynm/>
- <rsrvdttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- </rsrvlst>
- <acptlst>
- <orddd/>
- <pid/>
- <visano/>
- <engnm/>
- <pnm/>
- <brthareacnts/>
- <pkgcd/>
- <pkgnm/>
- <rgstno1/>
- <rgstno2/>
- <sexage/>
- <rcptstat/>
- <rsrvdd/>
- <rsrvno/>
- <statflag/>
- <acptflag/>
- <cmpynm/>
- <acptdttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- </acptlst>
- <cncllst>
- <cncldd/>
- <pid/>
- <engnm/>
- <brthareacnts/>
- <pkgcd/>
- <pkgnm/>
- <rgstno1/>
- <rgstno2/>
- <sexage/>
- <rsrvdd/>
- <rsrvno/>
- <statflag/>
- <rcptstat/>
- <visano/>
- <pnm/>
- <cmpynm/>
- <cncldttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- </cncllst>
- <listinfo>
- <acptcnt/>
- <rsrvcnt/>
- <rcptcnt/>
- <cnclcnt/>
- <holdcnt/>
- <failcnt/>
- <outcnt/>
- </listinfo>
- </list>
- <info>
- <patinfo>
- <item>
- <pid/>
- <rgstno1/>
- <rgstno2/>
- <hngnm/>
- <engnm/>
- <brthareacnts/>
- <sex/>
- <age/>
- <brthdd/>
- <zipcd11/>
- <zipcd12/>
- <zipcdseq1/>
- <addr1/>
- <detladdr1/>
- <mpphon/>
- <telno/>
- <emailid/>
- <emailtype/>
- <healexampid/>
- <emailkind/>
- <zipcd21/>
- <zipcd22/>
- <zipcdseq2/>
- <addr2/>
- <detladdr2/>
- <psptno/>
- <pidcretfg/>
- <insuid/>
- <hopedd/>
- <detladdr2/>
- <clntgrde/>
- <patremcnts/>
- <notice/>
- </item>
- </patinfo>
- <rsrvacptinfo>
- <item>
- <cmpyflag>N</cmpyflag>
- <orddd/>
- <rsrvdd/>
- <hopedd/>
- <rsrvtm/>
- <rsrvflag>01</rsrvflag>
- <rsltcnstflag>02</rsltcnstflag>
- <rsltcnstrsrvdd/>
- <rsrvguidsendyn/>
- <rsrvguidsenddd/>
- <insucorpbrchcd/>
- <insucorpbrchnm/>
- <insuid/>
- <disccd/>
- <discremark/>
- <emprelacd/>
- <empid/>
- <empnm/>
- <recmempid/>
- <recmempnm/>
- <famypid/>
- <famypnm/>
- <famyrelacd/>
- <deptcd/>
- <deptnm/>
- <clntgrde/>
- <clntempid/>
- <jobposcd/>
- <remcnts/>
- <pkgcd/>
- <pkgnm/>
- <latestpkginfo/>
- <choiflag>01</choiflag>
- <cmpycd/>
- <conseq/>
- <mode/>
- <status/>
- <healexamflag/>
- <healexamdetlflag/>
- <entcodd/>
- <rsltcnststatflag/>
- <dietcnstyn/>
- <orgexamdt/>
- <bizoffccd/>
- <jobkindflag/>
- <pkguncocd/>
- <rsltcnstrsrvtm/>
- <cmpynm/>
- <visaflag/>
- <famylst/>
- <visano/>
- <rsltcnstdrid/>
- <brthareacnts/>
- <acpt_insuid/>
- <acpt_insukind/>
- <discremcnts/>
- <conhistseq/>
- <statflag/>
- <rsltcnststatflag/>
- <rsltcnstrsrvdd/>
- <orddeptcd/>
- <orddrid/>
- <ordtm/>
- <cretno/>
- <acptseqno/>
- <acpt_insucd/>
- <pkgamt/>
- <rsrvno/>
- <rsltcnstdrid/>
- <healexamplacecd/>
- </item>
- <addlst>
- <sel/>
- <testflag/>
- <testcd/>
- <testnm/>
- <uncocd/>
- <scoreamt/>
- <prcptims/>
- <discamt/>
- <examseq/>
- <calcscorcd/>
- <prcpno/>
- <prcpdd/>
- <m/>
- <grupflag/>
- <addtotamt/>
- </addlst>
- <pkglst>
- <sel/>
- <pkgflag/>
- <pkgcd/>
- </pkglst>
- </rsrvacptinfo>
- <histlst>
- <item>
- <orddd/>
- <pkgcd/>
- <pkgnm/>
- <rsrvdd/>
- <rsrvno/>
- <lastupdtrid/>
- <lastupdtdt/>
- <cmpyflag/>
- <visano/>
- <remcnts/>
- </item>
- </histlst>
- <curlst>
- <item>
- <hopedd/>
- <rsrvtm/>
- <orddd/>
- <testcd/>
- <testnm/>
- <testroomcd/>
- <statflag/>
- <lastupdtrid/>
- <lastupdtdt/>
- </item>
- </curlst>
- <rcptinfo>
- <totamt/>
- <pkgamt/>
- <addamt/>
- <subtotamt/>
- <preamt/>
- <discamt/>
- <uncoamt/>
- <realamt/>
- </rcptinfo>
- <visalst>
- <item>
- <visano/>
- </item>
- </visalst>
- <pkgdetl>
- <item>
- <cdnm/>
- <pkgcd/>
- <spcnm/>
- <testnm/>
- <stndval/>
- <padd/>
- </item>
- </pkgdetl>
- <taginfo>
- <rtime/>
- <tagno/>
- <suppstat/>
- </taginfo>
- </info>
- <sum/>
- <seqprntdata/>
- </main>
- <send>
- <srchhealexamdetlflag/>
- <srchfromdd/>
- <srchtodd/>
- <srchpid/>
- <srchpnm/>
- <srchinstcd/>
- <srchhealexamflag/>
- <clscd/>
- <etccd/>
- <srchmode/>
- <save/>
- <srchpnm2/>
- <srchpid2/>
- <srchrsrvdd/>
- <srchrsrvno/>
- <srchinstcd/>
- <srchjobflag/>
- <savercpt>
- <opmi_out/>
- </savercpt>
- <srchlst>
- <srchfamypid/>
- <srchfamyinstcd/>
- <srchfamyhealexamflag/>
- </srchlst>
- <visanosrch>
- <genrdd/>
- <genrkind/>
- <instcd/>
- </visanosrch>
- <srchvisano/>
- <srcocmlflag/>
- <srchmode>4</srchmode>
- <srchhealexampid/>
- <srchrgstno1/>
- <srchrgstno2/>
- <srchcond/>
- <srchpkgcd/>
- <srchcmpycd/>
- <srchconseq/>
- <srchsex/>
- <savercpt>
- <opmi_out/>
- </savercpt>
- <savercpt>
- <opmi_out/>
- </savercpt>
- <rrgstno/>
- <taginfo/>
- <srchtagno/>
- <savetemprsrv/>
- </send>
- <init>
- <baseinfo>
- <pamcdlst>
- </pamcdlst>
- <hedetlflaglst/>
- <detlcodelst/>
- <testflag/>
- <natiinlst/>
- <relacdlst/>
- <heflaglst/>
- <rsltlst/>
- <uncocdlst>
- </uncocdlst>
- <clntgrdlst/>
- <rsrvflaglst/>
- <rsltcnstflaglst/>
- <choiflaglst/>
- <emaillst/>
- <statlst/>
- <healexamplacelst/>
- <cmpydetlcdlst>
- <deptlst/>
- </cmpydetlcdlst>
- </baseinfo>
- <srchmode>4</srchmode>
- <place>
- <healexamplacecd/>
- </place>
- </init>
- <hidden>
- <tlst/>
- <item/>
- </hidden>
- <temp>
- <templst/>
- <rcptinfo>
- <hidden/>
- </rcptinfo>
- <rcptno_out/>
- <emailtype/>
- <pkgtestcdlst/>
- <rsrvacptkey/>
- <colgpkgchoiyn>
- <item>
- <existyn/>
- </item>
- </colgpkgchoiyn>
- <temp>
- <psnworkinfo/>
- </temp>
- <rcptCheck/>
- <discamt/>
- <rsrvstate/>
- <sytsrsrvchk/>
- </temp>
- <tmp>
- <testcount/>
- </tmp>
- <source>
- <selflag/>
- <srchcond/>
- <srchpkgflag/>
- <srchcdnm/>
- <srchhealexamflag/>
- <srchhealexamdetlflag/>
- <srchinstcd/>
- <multiyn/>
- <openerid/>
- <sex/>
- <setflag/>
- </source>
- <tag/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA010.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- fInitInfo();
- fInitDate(true);
- fInitList();
- model.toggle("case_acpt");
- fSetBtnStat();
- fGetList();
- //btn_acpt.disabled = true;
- model.refresh();
- ]]>
- </script>
- <submission id="TRAHA00001"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TRAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
- <submission id="TRAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/histlst"/>
- <submission id="TRAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/pkgtestcdlst"/>
- <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
- <submission id="TRAHA00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/cmpydetlcdlst"/>
- <submission id="TRAHB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/detlcodelst"/>
- <submission id="TXAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
- <submission id="TXAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
- <submission id="TXAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rsrvacptkey"/>
- <bind id="bind_addtestcd" ref="/root/main/info/acptinfo/addlst/testcd" readonly="../testcdkey!=''"/>
- <submission id="TRAHA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchlst" replace="instance" resultref="/root/main/info/rsrvacptinfo/familylst"/>
- <submission id="TRAHA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
- <submission id="TRAHA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
- <submission id="TRAHA00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/patinfo"/>
- <submission id="TXAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHA00610" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/visalst/item"/>
- <submission id="TXAHA00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/info/rcptinfo"/>
- <submission id="TRAHA00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TRAHA02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptno_out"/>
- <submission id="TRAHA00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/info/pkgdetl"/>
- <bind id="bind1" ref="/root/main/list/rsrvlst/statflag"/>
- <submission id="TRAHA00509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/priceamt" replace="instance" resultref="/root/temp"/>
- <submission id="TXAHA00012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHA00014" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHA00013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHA00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/sytsrsrvchk"/>
- <submission id="TXAHA00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/temprsrv"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fGetBaseInfo(){
- // 건진상세구분
- var healexamfg = fGetHealExamFlag();
-
- /*
- if( healexamfg == "C") {
- zbcfGetCodeList( new Array( "A0069" ),
- new Array("/root/init/baseinfo/hedetlflaglst" ) );
- }
- else {
- zbcfGetCodeList( new Array( "A0070" ),
- new Array("/root/init/baseinfo/hedetlflaglst" ) );
- }
- */
-
- zbcfGetCodeList( new Array( "A0070" , "A0117","A0465","P0049","A0107"),
- new Array("/root/init/baseinfo/hedetlflaglst"
- ,"/root/init/baseinfo/testflag"
- ,"/root/init/baseinfo/natiinlst"
- ,"/root/init/baseinfo/rsltlst"
- , "/root/init/baseinfo/statlst"
- ) );
- submit("TRZBC00101");
-
- healGetCodeList( new Array("S600")
- , new Array("/root/init/baseinfo/healexamplacelst") );
- model.removenode("/root/init/baseinfo/healexamplacelst/S600[1]");
-
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- submit("TRAHA00104");
-
- //model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- model.setValue("/root/send/clscd", "G" ); //공통코드
- model.setValue("/root/send/etccd", "G06"); //비자건진분류코드 Setting
- if( submit("TRAHB00602") == true ){
- var nodelst = instance1.selectNodes("/root/init/baseinfo/detlcodelst/item");
- if( nodelst.length == 1) {
- cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item/etcitemcnts");
- }
- else if( nodelst.length > 1){
- for( var i = 0 ; i < nodelst.length ; i++) {
- if( "Y" == model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/useyn") ) {
- cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/etcitemcnts");
- break;
- }
- }
- }
- cmb_healexamdetlflag.value = cmb_srchhealexamdetlflag.value;
- }
- cmb_healexamdetlflag.refresh();
- //cmb_srchhealexamdetlflag.refresh();
- //model.setValue("/root/main/info/patinfo/item/brthareacnts","/root/init/baseinfo/natiinlst")
- cmb_brthareacnts.refresh();
- }
- /**
- * 리스트내역 초기화
- */
- function fInitList( ){
- model.removeNodeset("/root/main/list/rsrvlst");
- model.removeNodeset("/root/main/list/acptlst");
- model.removeNodeset("/root/main/list/cncllst");
- model.resetInstanceNode("/root/main/list/listinfo");
- model.removeNodeset(grd_addlst.nodeset);
- }
-
-
- /*********************************************************
- **************가족조회하는 함수***************************
- *********************************************************/
- function fSrchFamily(){
-
- //등록번호가 들어가야 한다는 에러문
- if(ipt_famypid.currentText==""){
- messageBox("가족의 등록번호를 입력하셔야 합니다.","C001");
- return;
- }
- //이름이 들어가야 한다는 에러문
- if (opt_famypnm.currentText==""){
- messageBox("가족의 이름이 등록돼지 않았슴","C001");
- return;
- }
- //가족관계를 입력해야 한다는 에러문
- if(cmb_famyrelacd.label=="" && cmb_famyrelacd.value==""){
- messageBox("가족관계를 입력하셔야 해요","C001");
- return;
- }
-
- //바로 행 삽입
- grd_family.addRow();
- var vgrd_family_row=grd_family.row;
-
- grd_family.valueMatrix(vgrd_family_row,1)="N";
- grd_family.valueMatrix(vgrd_family_row,2)=ipt_pid.currentText;
- grd_family.valueMatrix(vgrd_family_row,3)=ipt_famypid.currentText;
- grd_family.valueMatrix(vgrd_family_row,4)=opt_famypnm.currentText;
- grd_family.valueMatrix(vgrd_family_row,5)=cmb_famyrelacd.value;
- grd_family.valueMatrix(vgrd_family_row,6)=cmb_famyrelacd.label;
- model.refresh();
-
- //ipt_famypid
- //opt_famypnm
- //cmb_famyrelacd
- }
-
- /******************************************************
- ************가족코드 삭제******************************
- *****************************************************/
- function fDelFamily(){
- var vgrd_familyRowDel=grd_family.row;
-
- //선택할 행이 없으면
- if(vgrd_familyRowDel<0)
- return;
- //비자건진이 아니면
- if(cmb_srchhealexamdetlflag.value!="G02")
- return;
-
- //기관코드가 없으면
- if(getUserInfo("dutplceinstcd")=="")
- return;
-
- if(grd_family.valueMatrix(vgrd_familyRowDel,2)=="" ||
- grd_family.valueMatrix(vgrd_familyRowDel,3)=="" ||
- grd_family.valueMatrix(vgrd_familyRowDel,4)=="" ||
- grd_family.valueMatrix(vgrd_familyRowDel,5)=="" ||
- grd_family.valueMatrix(vgrd_familyRowDel,6)=="" ){
- messageBox("내용이 없어요","C001");
- return;
- }
-
- model.setValue("/root/send/familylst/healexamflag",fGetHealExamFlag());
- model.setValue("/root/send/familylst/pid",grd_family.valueMatrix(vgrd_familyRowDel,2));
- model.setValue("/root/send/familylst/famypid",grd_family.valueMatrix(vgrd_familyRowDel,3));
- model.setValue("/root/send/familylst/famyrelcd",grd_family.valueMatrix(vgrd_familyRowDel,5));
- model.setValue("/root/send/familylst/instcd",getUserInfo("dutplceinstcd"));
- submit("TRAHA00603");
- }
- /********************************************************
- ********비자건진 가족관계 저장***************************
- ********************************************************/
-
- function fSaveFamy(){
- var vHealexamflag=fGetHealExamFlag();
- var vgrd_familyRow=grd_family.row;
- //건진구분이 읍을시
- if (vHealexamflag=="")
- return;
-
- //기관코드가 읍을시
- if(getUserInfo("dutplceinstcd")=="")
- return;
- if(grd_family.valueMatrix(vgrd_familyRow,2)=="" ||
- grd_family.valueMatrix(vgrd_familyRow,3)=="" ||
- grd_family.valueMatrix(vgrd_familyRow,4)=="" ||
- grd_family.valueMatrix(vgrd_familyRow,5)=="" ||
- grd_family.valueMatrix(vgrd_familyRow,6)=="" ){
- messageBox("입력이 빠졌어요","C001");
- return;
- }
-
- model.setValue("/root/send/familylst/healexamflag",vHealexamflag);
- model.setValue("/root/send/familylst/pid",grd_family.valueMatrix(vgrd_familyRow,2));
- model.setValue("/root/send/familylst/famypid",grd_family.valueMatrix(vgrd_familyRow,3));
- model.setValue("/root/send/familylst/famynm",grd_family.valueMatrix(vgrd_familyRow,4));
- model.setValue("/root/send/familylst/famyrelcd",grd_family.valueMatrix(vgrd_familyRow,5));
- model.setValue("/root/send/familylst/instcd",getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/familylst/famyrelnm",grd_family.valueMatrix(vgrd_familyRow,6));
- //submit("TRAHA00602");
-
- }
- /*********************************************************
- ***************건진자 가족관계 조회***********************
- *********************************************************/
- function fSrchFamy(){
- //더블클릭한 건진자가 없을 시에
- if (ipt_pid.currentText=="")
- return;
- var vHealexamflag=fGetHealExamFlag();
- //건진구분이 없을 시에
- if (vHealexamflag=="")
- return;
- //기관코드가 없을 시에
- if (getUserInfo("dutplceinstcd")=="")
- return;
- model.setValue("/root/send/srchlst/srchfamyhealexamflag",vHealexamflag)
- model.setValue("/root/send/srchlst/srchfamypid",ipt_pid.currentText);
- model.setValue("/root/send/srchlst/srchfamyinstcd",getUserInfo("dutplceinstcd"));
- //submit("TRAHA00601");
-
-
- }
-
-
-
- /**
- * 입력정보 초기화
- */
- function fInitInfo(){
- model.resetInstanceNode("/root/main/info/patinfo/item");
- model.resetInstanceNode("/root/main/info/visalst/item");
- model.resetInstanceNode("/root/main/info/rsrvacptinfo/item");
- fInitRsrvAcptInfo();
- }
- /**
- * 접수 정보 초기화
- */
- function fInitRsrvAcptInfo(){
- //model.resetInstanceNode("/root/main/info/rsrvacptinfo/item");
- model.resetInstanceNode("/root/main/info/rcptinfo");
- model.resetInstanceNode("/root/main/info/rsrvacptinfo/addlst");
- model.removeNodeset(grd_addlst.nodeset);
- //model.removeNodeset("/root/main/info/rsrvacptinfo/item/visano");
- //model.removeNodeset("/root/main/info/visalst/item");
- //model.removeNodeset("/root/main/info/histlst/item");
- fInitDate(false);
- model.setValue( cmb_healexamdetlflag.attribute("ref") , cmb_srchhealexamdetlflag.value );
- model.setValue( rdo_visaflag.attribute("ref") , "M");
- model.setValue(cmb_pkguncocd.attribute("ref"), "V01" );
- model.setFocus("ipt_rgstno1");
-
- rdo_healexamplacecd.refresh();
- if(rdo_healexamplacecd.value != "" ) {
- rdo_healexamplacecd.dispatch("xforms-select"); // 건진장소 default 셋팅
- }else {
- rdo_healexamplacecd.select(1); // 건진장소 default 셋팅
- }
- }
- /**
- * 일자내역 초기화
- *bSrchDt : 조회일자초기화여부
- */
- function fInitDate(bSrchDt){
- var cur_date = getCurrentDate();
- model.setValue( ipt_orddd.attribute("ref") , cur_date);
- model.setValue( ipt_rsrvdd.attribute("ref") , cur_date);
- out_engnm.value = ipt_engnm.value;
- if( bSrchDt ) {
- model.setValue( ipt_srchtodd.attribute("ref") , cur_date);
- model.setValue( ipt_srchfromdd.attribute("ref") , cur_date);
- }
- }
- /**
- * 버튼상태 setting
- */
- function fSetBtnStat(){
- btn_rcpt.disabled = false;
- btn_rsrvcfm1.disabled = true;
- btn_rsrvcfm2.disabled = true;
- btn_acpt.disabled = true;
- btn_acptcncl.disabled = true;
- btn_rsrvcncl.disabled = true;
- var vStat = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- //if(isXPathTextNull("/root/main/info/rsrvacptinfo/item/statflag") ) return ;
- //alert( vStat );
- if ( vStat == "C" ){
- btn_rsrvcfm1.disabled = false;
- btn_rsrvcfm2.disabled = false;
- btn_rsrvcncl.disabled = false;
- btn_acpt.disabled = false;
- }
- else
- if( vStat == "D"){
- btn_rsrvcfm1.disabled = false;
- btn_rsrvcfm2.disabled = false;
- btn_acpt.disabled = false;
- }
- else
- if( vStat == "E" ){
- btn_acptcncl.disabled = false;
- btn_acpt.disabled = true;
- }
- else
- if( vStat == "F" ){
- btn_rsrvcfm1.disabled = false;
- btn_rsrvcfm2.disabled = false;
- btn_acptcncl.disabled = true;
- btn_acpt.disabled = true;
- }
- else
- if( vStat == "G" ){
- btn_acptcncl.disabled = true;
- btn_acpt.disabled = true;
- }
- else {
- btn_rsrvcfm1.disabled = false;
- btn_rsrvcfm2.disabled = false;
- btn_acpt.disabled = false;
- }
- model.refresh();
- }
-
- /***************************************************************
- ********************비자년번호따오는 함수***********************
- ***************************************************************/
- function fGetVisano(){
- var vCutVisa,vCopyVisa,vGetDD,vRetNo;
-
- vGetDD=getCurrentDate();
- //년도만 짤라냄
-
-
- vGetDD=vGetDD.substring(0,4);
-
- //20070000이런 식으로 나옴
- vGetDD=vGetDD.getRightPad(8,"0");
-
- model.setValue("/root/send/visanosrch/genrdd",vGetDD);
- model.setValue("/root/send/visanosrch/genrkind","V");
- model.setValue("/root/send/visanosrch/instcd",getUserInfo("dutplceinstcd"));
- submit("TRAHA00610");
- vRetNo=model.getValue("/root/main/info/visalst/item/visano");
- //model.removeNodeset("/root/main/info/rsrvacptinfo/item/visano");
- //model.resetInstanceNode("/root/main/info/rsrvacptinfo/item/visano");
- //fCheckNodeExist("/root/main/info/rsrvacptinfo/item/visano",true);
- model.setValue("/root/main/info/rsrvacptinfo/item/visano",vRetNo);
- model.refresh();
- }
-
- /**
- * 예약/예약등록/접수/취소/보류 리스트 조회
- * 예약등록의 경우 예약등록일자 기준.
- * 예약등록일 = 가예약 + 예약
- * 예약 = 예약
- */
- function fGetList(){
- fInitList();
- if( isXPathTextNull( "/root/send/srchhealexamdetlflag") ||
- isXPathTextNull( "/root/send/srchtodd") ||
- isXPathTextNull( "/root/send/srchfromdd")) return ;
-
- model.setValue("/root/send/srchhealexamflag", fGetHealExamFlag());
- var vMode = fGetSrchMode();
- model.setValue("/root/send/srchmode", vMode );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- model.setValue("/root/send/srchvisano",ipt_srch_visano.currentText)
-
- openLoadingBar("건진자 리스트를 가져오는 중입니다..") ;//처리중 화면을 오픈한다.
- submit("TRAHA00203");
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
- /** =====================================================================================================================================================================
- * SPAHA00100_PARAM1 : 예약조회구분 [건진전체(T), 검사실(R), 상담의별 결과상담(C)]
- * SPAHA00100_PARAM2 : 예약일자
- * SPAHA00100_PARAM3 : 성별구분(종건예약일정)
- * SPAHA00100_PARAM4 : 예약일자가 setting될 부모 node
- * SPAHA00100_PARAM5 : 예약시간 setting될 부모 node
- * SPAHA00100_PARAM6 : 건진구분
- * ================================================================================================================================================*/
- function fGetRsrvDateTime(vMode, rsrvddObj, rsrvtmObj){
- setParameter ("SPAHA00100_PARAM1", vMode);
- setParameter ("SPAHA00100_PARAM2", ipt_rsrvdd.value );
- setParameter ("SPAHA00100_PARAM3", opt_sex.value );
- if( rsrvddObj != null ) setParameter ("SPAHA00100_PARAM4", rsrvddObj.attribute("ref") );
- if( rsrvtmObj != null ) setParameter ("SPAHA00100_PARAM5", rsrvtmObj.attribute("ref") );
- setParameter ("SPAHA00100_PARAM6", fGetHealExamFlag() );
- setParameter ("SPAHA00100_PARAM7", "/root/main/info/rsrvacptinfo/item/rsltcnstdrid" );
- setParameter ("SPAHA00100_PARAM8", cmb_healexamdetlflag.value);
- modal("SPAHA00100", "", "", "", "SPAHA00100", "/root/source","/root/target");
- }
- /**
- *1:예약, 2:예약등록, 3:접수, 4: 취소및보류, 5: 예약취소, 6: 접수취소, 7:보류
- */
- function fGetSrchMode(){
-
- var idx = swt_acptlst.selectedIndex ;
- if( idx == 0) {
- idx = 3;
- }
- else
- if( idx == 1 ){
- idx = 1;
- }
- if(idx == 2){
- return rdo_cnclmode.value ;
- }
- return idx;
- }
- /**
- * 예약/접수정보 check.
- */
- function fCheckAcpt(vMode){
- var vRsvdd = "";
- var vStatus = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- //예약/예약확인/예약보류
- //if( !isRequiredGroup("rdo_visaflag", "ipt_pkgcd") ) return false;
- if( model.getValue(rdo_visaflag.attribute("ref") ) == "" ) {
- messageBox("비자구분을 ", "C001");
- model.setFocus("rdo_visaflag");
- return false;
- }
- if( model.getValue(rdo_visaflag.attribute("ref") ) == "" ) {
- messageBox("패키지를 ", "C001");
- model.setFocus("ipt_pkgcd");
- return false;
- }
- if( model.getValue(cmb_pkguncocd.attribute("ref")) == "" ){
- messageBox("청구구분을 ", "C001");
- model.setFocus("cmb_pkguncocd");
- return false;
-
- }
- if( (vMode == "C") ){
- if( !isRequiredGroup("ipt_rsrvdd") ) return false;
- vRsvdd = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
- vRsvdd = vRsvdd.toDate("YYYYMMDD");
- if( vRsvdd < getCurrentDate() ){
- messageBox("예약일자가 현재일자 전으로 ", "E005");
- model.setFocus("ipt_rsrvdd");
- return false;
- }
- }
- //접수시
- else
- if( vMode == "E" ){
- model.setValue("/root/main/info/rsrvacptinfo/item/orddd", getCurrentDate());
- }
- //예약및접수취소시(D,F)
- else
- if( vMode == "D" ){
- if( vStatus != "C" ){
- messageBox("예약상태가 아닌 항목은 예약취소 ", "E001");
- return false;
- }
- }
- else
- if( vMode == "F" ){
- if( vStatus != "E"){
- messageBox("접수상태가 아닌 항목은 접수취소 ", "E001");
- return false;
- }
- }
- return true;
- }
- /**
- * 건진내역 계산
- 건진구분 :srchhealexamflag
- 예약일자 :srchrsrvdd
- 예약번호 :srchrsrvno
- 등록번호 :srchpid
- 기관코드 :srchinstcd
- */ function fCalcAmt(vJobFlag){
- var ret = -1;
- var vTmp = fGetHealExamFlag();
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchhealexamflag", vTmp );
- vTmp = model.getValue(ipt_pid.attribute("ref"));
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchpid", vTmp );
-
- vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
- if( vTmp== "" ) return ret;
- model.setValue("/root/send/srchrsrvdd", vTmp );
-
- vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchrsrvno", vTmp );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchjobflag" ,vJobFlag);
- var sNd = "/root/temp/rcptinfo/hidden/opmi_out";
- model.resetInstanceNode(sNd);
- sNd = sNd + "/";
-
- openLoadingBar("수납예상내역 계산 중입니다..") ;//처리중 화면을 오픈한다.
- if( submit("TXAHA02101") == true ){
-
- model.setValue(opt_pkgamt.attribute("ref") , model.getValue( sNd + "opmi_baseexamamt"));
- model.setValue(opt_addamt.attribute("ref") , model.getValue( sNd + "opmi_addexamamt"));
-
- model.setValue(opt_totamt.attribute("ref") , model.getValue( sNd + "opmi_totamt"));
- model.refresh();
- ret = 1;
- }
- closeLoadingBar() ;//처리중 화면을 close한다.
- return ret;
- }
- /**
- **건진자번호로 예약/접수 상세정보
- */
- function fGetDetlInfoHid(){
- var sHealExamPid = model.getValue("/root/main/info/patinfo/item/healexampid");
- if( sHealExamPid != "" ){
- var vHealExamDetlFg = model.getValue(cmb_healexamdetlflag.attribute("ref") );
- ahafGetRsrvAcpDetltInfoWithPid(vHealExamDetlFg, sHealExamPid);
- }
- }
- /**
- ** 국가와 나이에 따라 메세지 처리
- * vMode: True 일때 패키지 체크 False일때 체크 않함
- */
- function fMessageChk(vMode) {
- var vBrthArea = model.getValue("/root/main/info/rsrvacptinfo/item/brthareacnts");
- var vAge = model.getValue("/root/main/info/patinfo/item/age");
- var vSex = model.getValue("/root/main/info/patinfo/item/sex");
- var vRrgstno1 = model.getValue("/root/main/info/patinfo/item/rgstno1");
- var vRrgstno2 = model.getValue("/root/main/info/patinfo/item/rgstno2");
- var vPkg = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
-
- vAge = vAge != "" ? vAge : getFullAge(rpad(vRrgstno1,6,'0') + rpad(vRrgstno2,7,'0'));
- vSex = vSex != "" ? vSex : getGender(rpad(vRrgstno1,6,'0') + rpad(vRrgstno2,7,'0'));
- if(vMode) {
-
- }else {
- //나이 70세 이상이면서 호주일시 활성창
- if( (vPkg == "VPCDAVM" && vAge >=70) || (vPkg == "VPCDAVA" && vAge >=70)){
- messageBox("심전도 검사를 받아야 하는 건진자","E008");
- }
-
- //나이 2세 미만이면서 호주일 경우 선택 하시오
- if((vPkg == "VPCDASC" && vAge < 2) || (vPkg == "VPCDAEC" && vAge < 2)){
- messageBox("머리둘레측정을 받아야 하는 건진자","E008");
- }
- //나이 3세 미만이면서 뉴질랜드일 경우 활성창 뜨기
- if(vPkg == "VPCDNEB" && vAge < 3){
- messageBox("머리둘레측정을 받아야 하는 건진자","E008");
- }
- //20세 이상 뉴질랜드 선택시
- //if(vAge >=20 && vBrthArea == "NZ"){
- if((vPkg == "VPCDNEAB" && vAge >=20) || (vPkg == "VPCDNEAA" && vAge >=20)){
- messageBox("허리둘레측정을 받아야 하는 건진자","E008");
- }
- //45세 이상 여자 뉴질랜드 선택시
- if((vPkg == "VPCDNEAB" && vAge >=45 && vSex == "F") || (vPkg == "VPCDNEAA" && vAge >=45 && vSex == "F")){
- messageBox("유방촬영검사를 받아야 하는 건진자","E008");
- }
- }
- }
- /*********************************************************
- * 원하는 길이만큼 오른쪽으로 문자채움
- *******************************************************/
- function rpad(newValue, len, ch){
-
- // 오른쪽에 ch문자로 채우기
- var strlen = newValue.getTrim().length;
- var ret = "" ;
- var alen = len - strlen;
- var astr = "";
-
- //부족한 숫자만큼 len 크기로 ch 문자로 채우기
- for (i=0; i<alen; ++i)
- {
- astr = astr + ch;
- }
-
- ret = newValue.getTrim() + astr; //뒤에서 채우기
- return ret;
- }
- /****************************************************
- * 가예약자 일괄 취소
- *****************************************************/
- function fDelAllTempRsrv() {
-
- for(var i=0; i < grd_rsrvlst.rows; i++) {
- var statFlag = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("statflag") );
- if(statFlag == "A") {
- grd_rsrvlst.addStatus( i , "delete");
- }
- }
- model.setValue("/root/send/savetemprsrv" , grd_rsrvlst.getUpdateData());
-
- var ret = messageBox("가예약일괄 취소를","Q004")
- if(ret == 6) {
- if(submit("TXAHA00114")) {
- fGetList();
- grd_rsrvlst.clearStatus();
- }
- }else if(ret == 7) {
- grd_rsrvlst.clearStatus();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1198;2,785;2,759;">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:13px; ">VISA등록</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_rslt" class="btn3_letter4" style="left:5px; top:4px; width:92px; height:22px; ">
- <caption>결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMAHR00700_검사결과관리[비자건진].xrw");
- ]]>
- </script>
- </button>
- <button id="btn_visastat" class="btn6_letter5" visibility="hidden" style="left:190px; top:4px; width:92px; height:22px; ">
- <caption>비자통계</caption>
- </button>
- <button id="btn_testrsrv" class="btn3_letter6" style="left:85px; top:4px; width:104px; height:22px; ">
- <caption>외래검사예약</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- aezfPopUpRsrvSample("SMAEA02000", "", "/root/main/info/rsrvacptinfo/item");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:749px; top:4px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitInfo();
- fSetBtnStat();
- ]]>
- </script>
- </button>
- <button id="btn_rsrvcncl" class="btn4_letter4" style="left:879px; top:4px; width:80px; height:22px; ">
- <caption>예약취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/info/patinfo/item/hngnm") == "") {
- model.setValue("/root/main/info/patinfo/item/hngnm", model.getValue("/root/main/info/patinfo/item/engnm"));
- }
- // fSaveRsrvAcpt("D");
- fSaveRsrvAcptPro("D");
- ]]>
- </script>
- </button>
- <button id="btn_acpt" class="btn4_letter2" style="left:997px; top:4px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitDate(true);
- //연번이 입력되지 않았을때
-
- /*
- if(ipt_visayear.currentText==""){
- messageBox("연번이 입력되지","I001");
- return;
- }
- */
-
- //주민번호나 이름이 입력이 되지 않았을때
- if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
- messageBox("이름또는 주민번호를 ","I001");
- return;
- }
-
- //패키지가 입력되지 않았을때
- if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
- messageBox("패키지를 ", "C001");
- return;
- }
-
- //model.setValue("/root/main/info/rsrvacptinfo/item/visano","/root/main/info/visalst/item/visano");
- if(ipt_visayear.currentText=="")
- btn_no.dispatch("DOMActivate");
- //일검 비자 처리시
- //fSaveRsrvAcptVisa("E");
-
- //종건접수시에 처리하는것
- //fSaveRsrvVisaAcpt("E");
- //fSaveRsrvAcpt("E");
- fSaveRsrvAcptPro("E");
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_acptcncl" class="btn4_letter4" style="left:1056px; top:4px; width:80px; height:22px; ">
- <caption>접수취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //alert("현재 접수취소는 불가합니다. \n접수취소를 원하시면 처방관리화면에서 처방 전체를 반환해주세요.");
- fSaveRsrvAcptPro("F");
- ]]>
- </script>
- </button>
- <button id="btn_rcpt" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
- <caption>수납</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //주민번호나 이름이 입력이 되지 않았을때
- if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
- messageBox("이름또는 주민번호를","I001");
- return;
- }
-
- //패키지가 입력되지 않았을때
- if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
- messageBox("패키지를 ", "C001");
- return;
- }
- // 20100727 JHP 수납조회 기준일자를 orddd에서 hopedd로 변경함.
- ahafOpenRcpt( fGetHealExamFlag()
- , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd")
- , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")
- , model.getValue("/root/main/info/patinfo/item/pid")
- , model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat")
- , model.getValue("/root/main/info/rsrvacptinfo/item/hopedd" ) );
- ]]>
- </script>
- </button>
- <button id="btn_rsrvcfm1" class="btn4_letter2" style="left:820px; top:4px; width:56px; height:22px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //예약에는 연번이 발생하면 안됨
- //연번이 입력되지 않았을 때
- /*
- btn_no.dispatch("DOMActivate");
- if(ipt_visayear.currentText==""){
- messageBox("연번이 입려되지","I001");
- return;
- } */
- //주민번호나 이름이 입력이 되지 않았을때
- if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
- messageBox("이름또는 주민번호를","I001");
- return;
- }
- //패키지가 입력되지 않았을때
- if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
- messageBox("패키지를 ", "C001");
- return;
- }
- //model.setValue("/root/main/info/rsrvacptinfo/item/visano",ipt_visayear.currentText);
- // fSaveRsrvVisaAcpt("C");
- if (model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") ==""){
- messageBox("예약시간을 ", "C001");
- btn_totrsrvdt.dispatch("DOMActivate");
- }
- model.makeValue("/root/main/info/patinfo/item/hopedd",model.getValue("/root/main/info/rsrvacptinfo/item/hopedd"));
- if(model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") !="") {
- fSaveRsrvAcptPro("C");
- fGetList();
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_rsrvcfm2" class="btn4_letter2" visibility="hidden" style="left:690px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- //연번이 입력되지 않았을 때
- if(ipt_visayear.currentText==""){
- messageBox("연번이 입력되지","I001");
- return;
- }
- */
- //주민번호나 이름이 입력이 되지 않았을때
- if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
- messageBox("이름또는 주민번호가 입력되지","I001");
- return;
- }
- // fSaveRsrvAcpt("C");
- fSaveRsrvAcptPro("C");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn4_letter7" style="left:630px; top:4px; width:116px; height:22px; ">
- <caption>가예약일괄취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelAllTempRsrv();
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:13px; width:1200px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" class="search_name" style="left:571px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </button>
- <line id="line7" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchpid" ref="/root/send/srchpid2" class="input_search" style="left:660px; top:8px; width:170px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
- <button id="button11" class="icon_search" style="left:835px; top:10px; width:16px; height:16px; ">
- <caption/>
- </button>
- <output id="output7" ref="/root/send/srchpnm2" class="output_fix" style="left:855px; top:8px; width:235px; height:19px; "/>
- <caption id="caption20" class="search_name" style="left:331px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:420px; top:8px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
- ]]>
- </script>
- </select1>
- <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
- <caption id="caption34" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- </group>
- <line id="line8" class="line_2" style="x1:310px; y1:715px; x2:1190px; y2:715px; "/>
- <caption id="caption22" class="cell_1" visibility="hidden" style="left:1021px; top:705px; width:50px; height:23px; vertical-align:middle; ">합계</caption>
- <caption id="caption23" class="cell_1" style="left:310px; top:705px; width:55px; height:23px; vertical-align:middle; ">특이사항</caption>
- <output id="opt_totamt" ref="/root/main/info/rcptinfo/totamt" class="output_fix" visibility="hidden" format="#,###" style="left:1074px; top:707px; width:115px; height:19px; text-align:right; "/>
- <button id="btn_acptlst" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:60px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_acpt");
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_rsrvlst" class="btn_sw" group="tab" style="left:59px; top:49px; width:60px; height:22px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_rsrv");
- fGetList();
- ]]>
- </script>
- </button>
- <output id="output15" ref="/root/main/list/listinfo/rcptcnt" class="output_fix" visibility="hidden" style="left:38px; top:718px; width:65px; height:19px; "/>
- <caption id="caption60" class="cell_1" style="left:106px; top:696px; width:35px; height:23px; vertical-align:middle; ">예약</caption>
- <line id="line28" class="line_2" style="x1:0px; y1:714px; x2:305px; y2:714px; "/>
- <caption id="caption61" class="cell_1" style="left:0px; top:696px; width:35px; height:23px; vertical-align:middle; ">접수</caption>
- <caption id="caption62" class="cell_1" style="left:212px; top:696px; width:35px; height:23px; vertical-align:middle; ">취소</caption>
- <caption id="caption63" class="cell_1" visibility="hidden" style="left:106px; top:716px; width:35px; height:23px; vertical-align:middle; ">보류</caption>
- <output id="output17" ref="/root/main/list/listinfo/rsrvcnt" class="output_fix" style="left:144px; top:698px; width:65px; height:19px; "/>
- <caption id="caption64" class="cell_1" visibility="hidden" style="left:0px; top:716px; width:35px; height:23px; vertical-align:middle; ">수납</caption>
- <output id="output19" ref="/root/main/list/listinfo/cnclcnt" class="output_fix" style="left:250px; top:698px; width:55px; height:19px; "/>
- <output id="output20" ref="/root/main/list/listinfo/holdcnt" class="output_fix" visibility="hidden" style="left:144px; top:718px; width:65px; height:19px; "/>
- <line id="line29" class="line_3" style="x1:0px; y1:723px; x2:305px; y2:723px; "/>
- <output id="output21" ref="/root/main/list/listinfo/acptcnt" class="output_fix" style="left:38px; top:698px; width:65px; height:19px; "/>
- <output id="output22" ref="/root/main/list/listinfo/outcnt" class="output_fix" visibility="hidden" style="left:250px; top:718px; width:55px; height:19px; "/>
- <caption id="caption65" class="cell_1" visibility="hidden" style="left:212px; top:716px; width:35px; height:23px; vertical-align:middle; ">부도</caption>
- <textarea id="tar_remcnts" ref="/root/main/info/rsrvacptinfo/item/remcnts" maxlength="500" style="left:368px; top:707px; width:817px; height:19px; "/>
- <button id="btn_cncllst" class="btn_sw" group="tab" style="left:119px; top:49px; width:60px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_cncl");
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_grdsize" class="btn2_letter3" visibility="visible" style="left:245px; top:50px; width:53px; height:19px; ">
- <caption>펼치기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( btn_grdsize.attribute("text") == "펼치기"){
- group5.visible=false;
-
- btn_grdsize.attribute("text") = "줄이기";
-
- swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width"))+parseInt(swt_visa.attribute("width") );
- grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
- grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
- grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
-
-
-
-
-
-
- //swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
- //grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
- //grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
- //grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
-
- }
- else {
-
- btn_grdsize.attribute("text") ="펼치기";
-
- swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width"))-parseInt(swt_visa.attribute("width") );
- grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) - parseInt(swt_visa.attribute("width") ) ;
- grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) - parseInt(swt_visa.attribute("width") );
- grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) - parseInt(swt_visa.attribute("width") ) ;
- group5.visible=true;
- }
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:60px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_acpt");
-
- //예약이 아닐시에 사용할수 없게 만듬
- ipt_rsrvtm.disabled=true;
- btn_totrsrvdt.disabled=true;
- fGetList();
- //btn_acpt.disabled = true;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn_sw" group="tab" style="left:119px; top:49px; width:60px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_cncl");
-
- //예약이 아닐 시에 사용할 수 없게 만듬
- ipt_rsrvtm.disabled=true;
- btn_totrsrvdt.disabled=true;
- fGetList();
- //btn_acpt.disabled = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn_sw" group="tab" style="left:59px; top:49px; width:60px; height:22px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_rsrv");
-
- //예약시 컨트롤 사용가능하게
- ipt_rsrvtm.disabled=false;
- btn_totrsrvdt.disabled=false;
-
- fGetList();
- //btn_acpt.disabled = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <group id="group3" style="left:2px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:521px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
- <button id="button6" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </button>
- <line id="line4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="srch_pid" ref="/root/send/srchpid2" class="input_search" style="left:615px; top:8px; width:100px; height:19px; "/>
- <caption id="caption10" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
- <button id="button7" class="icon_search" style="left:720px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00600", "rgstno", srch_pid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
- ]]>
- </script>
- </button>
- <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:740px; top:8px; width:140px; height:19px; "/>
- <caption id="caption13" class="search_name" style="left:321px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
- <select1 id="combo1" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:410px; top:8px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
- ]]>
- </script>
- </select1>
- <input id="input2" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
- <input id="input3" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
- <caption id="caption14" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <caption id="caption17" class="search_name" style="left:886px; top:8px; width:89px; height:17px; ">년번검색 :</caption>
- <input id="ipt_srch_visano" ref="/root/send/srchvisano" class="input_search" style="left:990px; top:8px; width:105px; height:19px; "/>
- </group>
- <group id="group5" style="left:305px; top:50px; width:885px; height:630px; ">
- <button id="btn_histlst" class="btn_sw" group="tab" style="left:185px; top:225px; width:74px; height:22px; ">
- <caption>건진이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_hist" );
- ahafGetHistList(ipt_pid.value);
- ]]>
- </script>
- </button>
- <button id="btn_searchzipcd" class="icon_search" style="left:199px; top:154px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // ahafSetAddr(1, "/root/main/info/patinfo/item");
- ahafSetAddr(1, "/root/main/info/patinfo/item", "combination");
- ]]>
- </script>
- </button>
- <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" navindex="9" imemode="hangul" style="left:220px; top:153px; width:167px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- var srcNode = ahafSetAddr(1, "/root/main/info/patinfo/item" , "combination", opt_addr.currentText );
- opt_addr.value = model.getValue(srcNode + "/addr") ;
- }
- fMoveFocus("ipt_detladdr");
- ]]>
- </script>
- </input>
- <caption id="caption93" class="search_n_b" style="left:136px; top:104px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <output id="opt_sex" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:626px; top:102px; width:36px; height:19px; "/>
- <button id="btn_pkgdetl" class="btn_sw" group="tab" style="left:95px; top:225px; width:89px; height:22px; ">
- <caption>패키지상세</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_pkgdetl" );
- var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- ahafGetPkgDetlList(PkgCd);
- ]]>
- </script>
- </button>
- <caption id="caption50" class="cell_1" style="left:160px; top:27px; width:58px; height:23px; vertical-align:middle; ">비자구분</caption>
- <select1 id="rdo_visaflag" ref="/root/main/info/rsrvacptinfo/item/visaflag" appearance="full" cols="4" rows="1" overflow="visible" style="left:223px; top:29px; width:89px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>이민</label>
- <value>M</value>
- </item>
- <item>
- <label>유학</label>
- <value>S</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_brthareacnts" ref="/root/main/info/rsrvacptinfo/item/brthareacnts" class="combo_search" navindex="6" appearance="minimal" style="left:267px; top:130px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //fMessageChk(false);
- fMoveFocus("ipt_telno");
- ]]>
- </script>
- </select1>
- <caption id="cap_rsrvtm" class="cell_1" style="left:769px; top:27px; width:56px; height:23px; vertical-align:middle; ">예약시간</caption>
- <line id="line10" class="line_1" style="x1:10px; y1:23px; x2:875px; y2:23px; "/>
- <button id="button2" class="btn_sw" group="tab" style="left:10px; top:225px; width:84px; height:22px; ">
- <caption>선택패키지</caption>
- <toggle case="case_pkg" ev:event="onclick"/>
- </button>
- <caption id="caption51" class="tit_2" style="left:15px; top:29px; width:144px; height:13px; ">처방관리</caption>
- <line id="line11" class="line_2" style="x1:10px; y1:45px; x2:875px; y2:45px; "/>
- <line id="line22" class="line_2" style="x1:10px; y1:124px; x2:875px; y2:124px; "/>
- <caption id="caption52" class="tit_2" style="left:15px; top:76px; width:144px; height:13px; ">건진자 정보</caption>
- <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_essential" imemode="alpha" maxlength="10" style="left:777px; top:102px; width:96px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- fInitRsrvAcptInfo();
- fGetPatInfo(2);
- fGetDetlInfoHid();
- ipt_visayear.currentText=getCurrentDate();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_visayear" ref="/root/main/info/rsrvacptinfo/item/visano" class="input_essential" maxlength="10" style="left:768px; top:128px; width:105px; height:19px; "/>
- <button id="btn_no" class="btn4_letter6" visibility="hidden" style="left:415px; top:65px; width:104px; height:22px; ">
- <caption>비자년번생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fGetVisano();
-
- ]]>
- </script>
- </button>
- <input id="ipt_rsrvtm" ref="/root/main/info/rsrvacptinfo/item/rsrvtm" class="input_default" disabled="true" format="hh:nn" style="left:827px; top:28px; width:47px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_pnm");
- ]]>
- </script>
- </input>
- <caption id="caption53" class="cell_1" style="left:9px; top:101px; width:55px; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption32" class="tit_2" style="left:15px; top:7px; width:144px; height:13px; ">예약/접수정보</caption>
- <input id="ipt_engnm" ref="/root/main/info/patinfo/item/engnm" class="input_default" navindex="3" imemode="alpha" maxlength="50" _chartype="upper" text-transform="uppercase" style="left:300px; top:102px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- //엔터 누를시에 대문자로 전환시켜 저장
-
- if( event.keyCode == 13 ){
- var a=ipt_engnm.currentText;
- a=a.toUpperCase();
- model.setValue("/root/main/info/patinfo/item/engnm",a);
- out_engnm.value = ipt_engnm.value;
- model.refresh();
- fMoveFocus("ipt_pnm");
- }
-
- ]]>
- </script>
- </input>
- <input id="opt_zipcd1" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:68px; top:153px; width:57px; height:19px; "/>
- <caption id="caption1" class="search_n_b" style="left:126px; top:154px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <caption id="caption33" class="cell_1" style="left:456px; top:28px; width:59px; height:23px; vertical-align:middle; ">접수일자</caption>
- <line id="line14" class="line_3" style="x1:10px; y1:50px; x2:875px; y2:50px; "/>
- <line id="line25" class="line_1" style="x1:9px; y1:96px; x2:874px; y2:96px; "/>
- <caption id="caption55" class="cell_1" style="left:9px; top:151px; width:55px; height:43px; vertical-align:middle; ">주소</caption>
- <input id="opt_zipcd2" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:138px; top:153px; width:57px; height:19px; "/>
- <input id="ipt_detladdr" ref="/root/main/info/patinfo/item/detladdr1" class="input_default" navindex="10" imemode="hangul" maxlength="100" style="left:68px; top:173px; width:319px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_patremcnts");
- ]]>
- </script>
- </input>
- <caption id="caption11" class="cell_1" style="left:410px; top:101px; width:55px; height:23px; vertical-align:middle; ">성명(한)</caption>
- <line id="line15" class="line_3" style="x1:10px; y1:193px; x2:875px; y2:193px; "/>
- <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="input_essential" navindex="1" format="999999" style="left:68px; top:102px; width:64px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:705px; top:126px; width:60px; height:23px; vertical-align:middle; ">비자년번</caption>
- <caption id="caption46" class="cell_1" style="left:198px; top:128px; width:63px; height:23px; vertical-align:middle; ">국가</caption>
- <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="input_essential" navindex="2" format="9999999" style="left:150px; top:102px; width:69px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( (getStringLength(ipt_rgstno2.currentText) > 6) && (getStringLength(ipt_rgstno1.currentText) > 5) ){
- //주민번호로 환자 검색
- fSetBrthDD();
- //비자 연령 세팅
- //fSetBrthDDVisa();
-
- //외국인일 경우 나이 그냥 세팅
- //fGetPatInfoVisa(1);
- fGetPatInfo(1);
- fGetDetlInfoHid();
-
-
-
- model.setFocus("ipt_engnm");
-
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- //fGetPatInfo(1);
- //model.setFocus("ipt_pid");
- //주민번호로 환자 검색 like~
-
- if( getStringLength(ipt_rgstno2.currentText) < 7 ){
- fSearchPatInfo("SMAHA00100", "rgstno","", "Y", "/root/main/info/patinfo/item", "", "", ipt_rgstno1.currentText , ipt_rgstno2.currentText);
- }
- else {
- if( getStringLength(ipt_rgstno2.currentText) > 6) fGetPatInfo(1);
- }
- fGetDetlInfoHid();
- model.setFocus("ipt_mpphon");
- }
- ]]>
- </script>
- </input>
- <caption id="caption4" class="cell_1" style="left:613px; top:27px; width:59px; height:23px; vertical-align:middle; ">예약일자</caption>
- <caption id="caption47" class="cell_1" style="left:10px; top:128px; width:59px; height:23px; vertical-align:middle; ">여권번호</caption>
- <input id="ipt_orddd" ref="/root/main/info/rsrvacptinfo/item/orddd" class="input_essential" disabled="true" inputtype="date" style="left:517px; top:28px; width:93px; height:19px; "/>
- <caption id="caption69" class="cell_1" style="left:714px; top:101px; width:60px; height:23px; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="input_essential" visibility="hidden" inputtype="date" style="left:230px; top:0px; width:108px; height:19px; "/>
- <caption id="caption48" class="cell_1" style="left:243px; top:101px; width:55px; height:23px; vertical-align:middle; ">성명(영)</caption>
- <input id="ipt_rsrvdd" ref="/root/main/info/rsrvacptinfo/item/hopedd" class="input_essential" inputtype="date" style="left:674px; top:28px; width:93px; height:19px; "/>
- <button id="btn_selpnm" class="icon_search" style="left:223px; top:104px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00600", "pnm", ipt_pnm.currentText , "Y", "/root/main/info/patinfo/item");
- fGetDetlInfoHid();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:10px; y1:195px; x2:875px; y2:195px; "/>
- <caption id="caption39" class="cell_1" style="left:10px; top:28px; width:55px; height:23px; vertical-align:middle; ">검진구분</caption>
- <select1 id="cmb_healexamdetlflag" ref="/root/main/info/rsrvacptinfo/item/healexamdetlflag" class="combo_default" disabled="true" appearance="minimal" style="left:67px; top:29px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_age" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:665px; top:102px; width:46px; height:19px; "/>
- <input id="ipt_psptno" ref="/root/main/info/patinfo/item/psptno" class="input_default" navindex="5" imemode="alpha" maxlength="20" _chartype="upper" style="left:71px; top:130px; width:118px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- //엔터 누를시에 대문자로 전환시킴
- if( event.keyCode == 13 ){
- var b=ipt_psptno.currentText;
- b=b.toUpperCase();
- model.setValue("/root/main/info/patinfo/item/psptno",b);
- model.refresh();
- }
- fMoveFocus("cmb_brthareacnts");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(getStringLength(ipt_psptno.currentText)>19){
- model.setFocus("cmb_brthareacnts");
- }
- ]]>
- </script>
- </input>
- <button id="btn_totrsrvdt" class="btn2_letter6" disabled="false" style="left:789px; top:3px; width:86px; height:19px; ">
- <caption>예약시간선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRsrvDateTime("T", ipt_rsrvdd , ipt_rsrvtm);
- ]]>
- </script>
- </button>
- <button id="btn_savepatinfo" class="btn5_letter6" style="left:787px; top:75px; width:86px; height:19px; ">
- <caption>인적사항저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //인적사항을 인서트 한다.
- fSavePatInfo("N");
-
- fGetList();
- ]]>
- </script>
- </button>
- <switch id="swt_visa" style="left:10px; top:244px; width:865px; height:196px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_pkg" selected="true" style="left:0px; top:0px; width:880px; height:448px; ">
- <caption id="cap_pkgcd" class="cell_1" style="left:5px; top:8px; width:83px; height:23px; vertical-align:middle; ">패키지</caption>
- <input id="ipt_pkgcd" ref="/root/main/info/rsrvacptinfo/item/pkgcd" class="input_essential" maxlength="12" style="left:90px; top:9px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selpkg", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_selpkg" class="icon_search" style="left:180px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- fGetPkgCd("SMAHA00600", "P", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item","","pkg",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2") ), cmb_brthareacnts.value);
- // fGetPkgCd("SMAHA00600", "P", "N","nm" , ipt_pkgcd.currentText , "G02", opt_sex.value , "/root/main/info/rsrvacptinfo/item");
- // var cur_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
-
- model.setValue("/root/main/info/rcptinfo/pkgamt" , model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"));
-
- // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt, opt_addamt );
-
- // model.setValue("/root/main/info/rcptinfo/pkgamt" , model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"));
- //model.setValue("/root/main/info/rcptinfo/discamt", model.getValue("/root/main/info/rsrvacptinfo/item/discamt"));
- //model.setValue("/root/temp/discamt", model.getValue("/root/main/info/rsrvacptinfo/item/discamt"));
- var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
- //alert(count_a);
- var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
-
- count_a = count_a == "" ? 0 : count_a;
- count_b = count_b == "" ? 0 : count_b;
- model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
- fMessageChk(false);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <output id="opt_pkgnm" ref="/root/main/info/rsrvacptinfo/item/pkgnm" class="output_fix" style="left:201px; top:9px; width:338px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:543px; top:8px; width:79px; height:23px; vertical-align:middle; ">청구방법</caption>
- <select1 id="cmb_pkguncocd" ref="/root/main/info/rsrvacptinfo/item/pkguncocd" class="combo_default" appearance="minimal" style="left:623px; top:9px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var cnt = grd_addlst.rows ;
- var i = 0;
- var uncocd = "";
- for( i = 1; i < cnt ; i++){
- uncocd = grd_addlst.valueMatrix(i, 5);
- if( ( uncocd == "") || (uncocd == "-" ) ){
- grd_addlst.valueMatrix(i, 5) = cmb_pkguncocd.value ;
- }
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line44" class="line_1" style="x1:5px; y1:3px; x2:857px; y2:3px; "/>
- <line id="line43" class="line_2" style="x1:5px; y1:31px; x2:857px; y2:31px; "/>
- <caption id="caption92" class="cell_1" style="left:5px; top:33px; width:83px; height:23px; vertical-align:middle; ">최근건진내역</caption>
- <output id="opt_latestpkginfo" ref="/root/main/info/rsrvacptinfo/item/latestpkginfo" class="output_fix" style="left:90px; top:34px; width:158px; height:19px; "/>
- <line id="line2" class="line_3" style="x1:5px; y1:56px; x2:862px; y2:56px; "/>
- <caption id="caption81" class="cell_1" style="left:251px; top:33px; width:69px; height:23px; vertical-align:middle; ">패키지금액</caption>
- <output id="opt_addamt" ref="/root/main/info/rcptinfo/addamt" class="output_fix" format="#,###" style="left:520px; top:34px; width:120px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-valid">
- <![CDATA[
- var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
- var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
-
- //패키지 금액이 없다는것 자체가 검사금액이 0이라는것
- if(count_a=='')
- output2.value="0";
- //추가가 비었을 때 패키지만 더해준다
- else if (count_b=='')
- output2.value=parseInt(opt_pkgamt.value);
- // 둘다 아닐때 두 금액을 더해준다
- else
- output2.value=parseInt(opt_addamt.value)+parseInt(opt_pkgamt.value);
-
- model.refresh();
- ]]>
- </script>
- </output>
- <caption id="caption9" class="cell_1" style="left:438px; top:33px; width:79px; height:23px; vertical-align:middle; ">추가검사금액</caption>
- <output id="opt_pkgamt" ref="/root/main/info/rcptinfo/pkgamt" class="output_fix" format="#,###" style="left:323px; top:34px; width:112px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-valid">
- <![CDATA[
-
- var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
- alert(count_a);
- var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
-
- //패키지 금액이 없다는것 자체가 검사금액이 0이라는것
- if(count_a=='')
- output2.value="0";
- //추가가 비었을 때 패키지만 더해준다
- else if (count_b=='')
- output2.value=parseInt(opt_pkgamt.value);
- // 둘다 아닐때 두 금액을 더해준다
- else
- output2.value=parseInt(opt_addamt.value)+parseInt(opt_pkgamt.value);
-
- model.refresh();
-
- ]]>
- </script>
- </output>
- <caption id="caption15" class="cell_1" style="left:646px; top:33px; width:79px; height:23px; vertical-align:middle; ">총 건진금액</caption>
- <output id="output2" ref="/root/main/sum" class="output_fix" format="#,###" style="left:728px; top:34px; width:130px; height:19px; text-align:right; "/>
- </case>
- <case id="case_hist">
- <datagrid id="grd_hist" nodeset="/root/main/info/histlst/item" caption="신검일자^패키지코드^패키지명^비자연번^특이사항" colsep="^" colwidth="78, 99, 261,100,100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:853px; height:185px; ">
- <col ref="orddd"/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="visano"/>
- <col ref="remcnts"/>
- </datagrid>
- </case>
- <case id="case_cur">
- <datagrid id="grd_curlst" nodeset="/root/main/info/curlst/item" caption="예약일자^예약시간^접수일자^검사코드^검사명^검사실^상태" colsep="^" colwidth="78, 76, 99, 92, 249, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:853px; height:185px; ">
- <col ref="hopedd"/>
- <col ref="rsrvtm"/>
- <col ref="orddd"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="testroomcd" type="combo"/>
- <col ref="statflag"/>
- </datagrid>
- </case>
- <case id="case_pkgdetl">
- <datagrid id="grd_pkgdetl" nodeset="/root/main/info/pkgdetl/item" caption="검진코드^검진구분^검사분류^검사명^참고치^패키지분류^최종수정자^최종수정일시" colsep="^" colwidth="35, 110, 135, 193, 162, 100" mergecells="byrowrec" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:853px; height:185px; ">
- <col disabled="false" ref="pkgcd" visibility="hidden"/>
- <col ref="cdnm"/>
- <col ref="spcnm"/>
- <col ref="testnm"/>
- <col ref="stndval"/>
- <col disabled="true" ref="padd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <caption id="caption2" class="tit_2" style="left:15px; top:460px; width:144px; height:13px; ">추가검사</caption>
- <button id="btn_add" class="btn2_letter4" style="left:812px; top:450px; width:64px; height:19px; ">
- <caption>추가검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPkgCd("SMAHA00600", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
- fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y");
- // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt , opt_addamt );
- var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
-
- var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
-
- count_a = count_a == "" ? 0 : count_a;
- count_b = count_b == "" ? 0 : count_b;
- model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn2_letter3" visibility="hidden" style="left:815px; top:450px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue(grd_addlst.nodeset + "[" + grd_addlst.row + "]/m", "d");
- grd_addlst.addStatus(grd_addlst.row, "delete");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter3" visibility="hidden" style="left:759px; top:450px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_addlst.addRow();
- grd_addlst.col = 3;
- grd_addlst.editCell();
- ]]>
- </script>
- </button>
- <button id="btn_grup" class="btn2_letter4" visibility="hidden" style="left:625px; top:450px; width:64px; height:19px; ">
- <caption>묶음처방</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPkgCd("SMAHA00600", "X", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
- fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y");
- fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt , opt_addamt );
- var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
- //alert(count_a);
- var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
- model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
- ]]>
- </script>
- </button>
- <button id="btn_ordmgt" class="btn2_letter4" visibility="visible" style="left:745px; top:450px; width:64px; height:19px; ">
- <caption>처방관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter ("SMAHA00700_PARAM1" , model.getValue( cmb_healexamdetlflag.attribute("ref")) );
- setParameter ("SMAHA00700_PARAM2" , model.getValue( ipt_pid.attribute("ref")) );
- modal("SMAHA00700");
- ]]>
- </script>
- </button>
- <datagrid id="grd_addlst" nodeset="/root/main/info/rsrvacptinfo/addlst" caption="선택^검사구분^검사코드^검사명^청구방법^가격^횟수^할인액^검사일련번호^수가코드^처방번호^처방일자^처방구분^묶음검사구분^addtotamt" colsep="^" colwidth="33, 62, 100, 293, 93, 138, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:15px; top:478px; width:860px; height:150px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="testflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/testflag/A0117">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="testcd" type="inputbutton"/>
- <col ref="testnm"/>
- <col ref="uncocd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="scoreamt" visibility="visible" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="prcptims" type="input"/>
- <col ref="discamt" format="(-,+)#,###"/>
- <col ref="examseq"/>
- <col ref="calcscorcd"/>
- <col ref="prcpno"/>
- <col ref="prcpdd"/>
- <col ref="m"/>
- <col ref="grupflag"/>
- <col ref="addtotamt" visibility="hidden"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if( (grd_addlst.col == 3 ) && (event.keyCode == 13 )) {
- fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
- }
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:15px; y1:475px; x2:872px; y2:475px; "/>
- <datagrid id="grd_pkglst" nodeset="/root/main/info/rsrvacptinfo/pkglst" visibility="hidden" caption="선택^검사구분^검사코드^검사명^청구방법^가격" colsep="^" colwidth="33, 50, 100, 293, 160, 143" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:555px; top:515px; width:270px; height:65px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="pkgflag" visibility="hidden"/>
- <col ref="pkgcd" type="inputbutton"/>
- <col ref="testnm"/>
- <col ref="uncocd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="manamt" visibility="visible"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if( grd_addlst.col == 3 ){
- fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
- }
- ]]>
- </script>
- </datagrid>
- <group id="grp_msgmng" visibility="hidden" style="left:12px; top:315px; width:460px; height:105px; ">
- <caption id="caption70" class="cell_1" style="left:5px; top:33px; width:36px; height:19px; vertical-align:middle; ">국가</caption>
- <select1 id="combo5" ref="/root/temp/item/brthareacnts" class="combo_search" appearance="minimal" style="left:43px; top:33px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption71" class="cell_1" style="left:138px; top:33px; width:36px; height:19px; vertical-align:middle; ">성별</caption>
- <select1 id="rdo_sex" ref="/root/temp/item/sex" appearance="full" cols="4" rows="1" overflow="visible" style="left:176px; top:33px; width:90px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>남자</label>
- <value>M</value>
- </item>
- <item>
- <label>여자</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <caption id="caption72" class="cell_1" style="left:269px; top:33px; width:36px; height:19px; vertical-align:middle; ">나이</caption>
- <input id="ipt_fromage" ref="/root/temp/item/fromage" class="input_default" format="999999" style="left:307px; top:33px; width:64px; height:19px; "/>
- <caption id="caption73" class="search_n_b" style="left:375px; top:33px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_toage" ref="/root/temp/item/toage" class="input_default" format="9999999" style="left:390px; top:33px; width:69px; height:19px; "/>
- <caption id="caption74" class="cell_1" style="left:5px; top:55px; width:36px; height:19px; vertical-align:middle; ">내용</caption>
- <textarea id="ipt_msgcnts" ref="/root/temp/item/msgcnts" imemode="hangul" maxlength="250" appearance="textarea" style="left:43px; top:55px; width:415px; height:19px; "/>
- <button id="button30" class="btn2_letter2" style="left:415px; top:5px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_msgmng.visible = false;
- ]]>
- </script>
- </button>
- <line id="line24" class="line_1" style="x1:5px; y1:30px; x2:457px; y2:29px; "/>
- <caption id="caption21" ref="/root/temp/temprslt/temptestnm" class="tit_2" style="left:5px; top:10px; width:305px; height:13px; ">국가별 메시지관리</caption>
- <button id="button31" class="btn4_letter2" style="left:400px; top:80px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
-
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption91" class="cell_1" style="left:560px; top:101px; width:63px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" class="input_default" navindex="4" imemode="hangul" maxlength="50" style="left:468px; top:102px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_psptno");
- ]]>
- </script>
- </input>
- <button id="button10" class="btn5_letter6" visibility="hidden" style="left:695px; top:75px; width:86px; height:19px; ">
- <caption>인적사항수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //인적사항을 업데이트 한다.
- fSavePatInfo("N");
- ]]>
- </script>
- </button>
- <button id="button32" class="btn2_letter5" visibility="hidden" style="left:615px; top:75px; width:75px; height:19px; ">
- <caption>메시지관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_msgmng.visible = true;
- ]]>
- </script>
- </button>
- <caption id="caption24" class="cell_1" style="left:392px; top:151px; width:55px; height:42px; vertical-align:middle; ">Remark</caption>
- <textarea id="txt_remark" ref="/root/main/info/patinfo/item/patremcnts" navindex="11" imemode="alpha" maxlength="250" appearance="textarea" style="left:450px; top:152px; width:423px; height:40px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var c=txt_remark.currentText;
- c=c.toUpperCase();
- model.setValue("/root/main/info/patinfo/item/patremcnts",c);
- model.refresh();
- ]]>
- </script>
- </textarea>
- <caption id="caption25" class="tit_2" style="left:15px; top:210px; width:144px; height:13px; ">건진 정보</caption>
- <output id="out_engnm" ref="/root/main/info/patinfo/item/engnm" appearance="output" style="left:105px; top:75px; width:295px; height:19px; "/>
- <input id="ipt_mpphon" ref="/root/main/info/patinfo/item/mpphon" class="input_default" navindex="8" imemode="alpha" maxlength="30" style="left:595px; top:128px; width:108px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("opt_addr");
- ]]>
- </script>
- </input>
- <input id="ipt_telno" ref="/root/main/info/patinfo/item/telno" class="input_default" navindex="7" imemode="alpha" maxlength="30" style="left:436px; top:128px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_mpphon");
- ]]>
- </script>
- </input>
- <caption id="caption45" class="cell_1" style="left:544px; top:126px; width:49px; height:23px; vertical-align:middle; ">휴대폰</caption>
- <caption id="caption49" class="cell_1" style="left:377px; top:126px; width:55px; height:23px; vertical-align:middle; ">연락처</caption>
- <select1 id="cmb_place" ref="/root/main/info/rsrvacptinfo/item/healexamplacecd" class="combo_essential" disabled="true" appearance="minimal" style="left:374px; top:29px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption18" class="cell_1" style="left:313px; top:27px; width:59px; height:23px; vertical-align:middle; ">건진장소</caption>
- <select1 id="rdo_healexamplacecd" ref="/root/init/place/healexamplacecd" appearance="full" cols="2" overflow="visible" style="left:615px; top:2px; width:165px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
- var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- if(statFlag < 'C') {
- model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", rdo_healexamplacecd.value);
- }else {
- model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", healexamplacecd == "" ? rdo_healexamplacecd.value:healexamplacecd);
- }
- cmb_place.refresh();
-
- ]]>
- </script>
- </select1>
- </group>
- <switch id="swt_acptlst" style="left:0px; top:70px; width:305px; height:620px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_acpt" selected="true">
- <datagrid id="grd_acptlst" nodeset="/root/main/list/acptlst" allowselection="true" caption="접수일자^등록번호^비자년번^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이/성별^수납상태^rsrvdd^rsrvno^statflag^acptflag^cmpynm^acptdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="71, 63, 67, 146, 85, 70, 97, 188, 68, 74, 74, 72, 30, 30, 30, 30, 30, 30, 30, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="above" style="left:5px; top:6px; width:292px; height:606px; ">
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="visano"/>
- <col ref="engnm"/>
- <col ref="pnm" style="left:236px; top:23px; width:100px; height:23px; "/>
- <col ref="brthareacnts" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="rgstno1"/>
- <col ref="rgstno2" style="left:773px; top:23px; width:74px; height:23px; "/>
- <col ref="sexage"/>
- <col ref="rcptstat" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsltlst/P0049">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="statflag" visibility="hidden"/>
- <col ref="acptflag" visibility="hidden"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col ref="acptdttm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetlVisa(3);
- model.refresh()
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_acptlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_rsrv">
- <datagrid id="grd_rsrvlst" nodeset="/root/main/list/rsrvlst" caption="예약일자^등록번호^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이/성별^상태^rsrvdd^rsrvno^rcptstat^visano^totamt^cmpynm^rsrvdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="59, 62, 64, 88, 60, 100, 65, 68, 74, 64, 50, 30, 30, 30, 30, 30, 30, 30, 30, 30" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:291px; height:606px; ">
- <col ref="hopedd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="engnm"/>
- <col ref="pnm"/>
- <col ref="brthareacnts" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="rgstno1"/>
- <col ref="rgstno2" style="left:634px; top:23px; width:74px; height:23px; "/>
- <col ref="sexage"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="rcptstat" visibility="hidden"/>
- <col ref="visano" visibility="hidden"/>
- <col ref="totamt" visibility="hidden"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col ref="rsrvdttm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetlVisa(1);
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rsrvlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_cncl">
- <group id="group4" style="left:0px; top:3px; width:295px; height:37px; vertical-align:top; ">
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:1px; width:288px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption16" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">구분 :</caption>
- <select1 id="rdo_cnclmode" ref="/root/init/srchmode" appearance="full" cols="4" rows="1" overflow="visible" style="left:71px; top:8px; width:188px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>4</value>
- </item>
- <item>
- <label>예약취소</label>
- <value>5</value>
- </item>
- <item>
- <label>접수취소</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </select1>
- </group>
- <datagrid id="grd_cncllst" nodeset="/root/main/list/cncllst" caption="취소일시^등록번호^영문이름^국가^코드^유형^주민번호^주민번호^나이/성별^rsrvdd^rsrvno^statflag^rcptstat^visano^pnm^cmpynm^cncldttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="72, 59, 84, 137, 100, 65, 68, 74, 80, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:45px; width:292px; height:567px; ">
- <col ref="cncldd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="engnm"/>
- <col ref="brthareacnts" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="rgstno1"/>
- <col ref="rgstno2"/>
- <col ref="sexage"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="statflag" visibility="hidden"/>
- <col ref="rcptstat" visibility="hidden"/>
- <col ref="visano" visibility="hidden"/>
- <col ref="pnm" visibility="hidden"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col ref="cncldttm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetlVisa(4);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_cncllst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- </group>
- </xhtml:body>
- </xhtml:html>
|